package pinboard.dataLayer.binPack;

import pinboard.dataLayer.RefBag;

public interface IBinSerializer {

    byte[] toBytes(Object input);

    byte[] toBytes(Object[] input);

    Object toObject(byte[] input, RefBag<Integer> offset);

    Object[] toArray(byte[] input, RefBag<Integer> offset);
}
